package com.by.component.tencent.cos;

import java.io.File;

public interface CosService {

    String uploadFile2Url(Integer resourceType, String key, byte[] bytes);

    Long uploadFile2Id(Integer resourceType, String key, byte[] bytes);

    Long uploadFile2Id(Integer resourceType, String key, File file);

    Long uploadFile2Id(Integer resourceType, String key, String content);

    void copyFile(String sourceBucketName, String sourceKey, String targetBucketName, String targetKey);

}
